//
//  HQCallMeTableViewCell.m
//  NewMusic
//
//  Created by dllo on 15/11/21.
//  Copyright © 2015年 Going. All rights reserved.
//

#import "HQCallMeTableViewCell.h"

@interface HQCallMeTableViewCell ()
@property (nonatomic, retain) UILabel *label;
@end

@implementation HQCallMeTableViewCell

- (void)dealloc
{
    [_label release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        [self creatSubView];
    }
    return self;
}
- (void)creatSubView
{
    self.label = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 100, 40)];
    self.label.textColor = [UIColor colorWithRed:220 / 255.0 green:220 / 255.0 blue:220 / 255.0 alpha:1.0];
    [self.contentView addSubview:self.label];
    [_label release];
    
    UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 59)];
    view.backgroundColor = [UIColor whiteColor];
    view.alpha = 0.05;
    [self.contentView addSubview:view];
    [view release];
    
    UIImageView *imageV = [[UIImageView alloc] initWithFrame:CGRectMake(340, 20, 20, 20)];
    imageV.image = [UIImage imageNamed:@"BF-you"];
    [self.contentView addSubview:imageV];
    [imageV release];
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.label.text = self.labelName;
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
